Hooks are declared in the import method of the calling plugin, so that they can access the app using them