enable hooks to be extendable in another extension