ability to use pre/post hooks for modules