changes how instances were loaded to allow core classes to be overridden