Autoloader, and some useful methods.