Autoloader changes to allow custom namespaces