def insert_globals(self, *args, **kwargs):
for a in args: kwargs[a.__name__] = a<EOL>self.extra_globals.update(kwargs)<EOL>
Appends or overwrites the supplied object in the self.extra_globals.

Use this to expose execute_script() or _parse_script() etc... to external
objects and functions.

Regular arguments are assumed to have a __name__ attribute (as is the
case for functions) to use as the key, and keyword arguments will just 
be added as dictionary elements.