Update autoloading mechanism. Classes can be autoloaded globally or by the plugin.