Hooks support for autoloading