@mmarzantowicz block_register is needed here because we only want to register apphooks that comes from the `APPHOOKS` settings, otherwise every discovered apphook is registered.