Expose runtime to subclasses
Make the global object factory subclassable