note that due to the usage of the 'server' global, it will not work to add a Session.add_to_server() or core.misc.utils.add_to_server() function (Boeing r1828)