Added support for autoloading using namespaces.