Modules

wrap subs with pre- and post-call hooks