Easily add before and after callbacks to ruby methods with blocks.