Hooks separated from source files