It would be nice to have a decorator that can check for "before_hook" and "after_hook" to provide a simple hook mechanism for specific functions.
The idea would be to look at kwargs to pull out values for before_hook and after_hook as tuples. These would then get executed prior to the main function execution and after the main function execution.