Moving the autoload functionality to the environment and wrapping in the manager.