Copies the block return argument and logs a warning if the block signature return type is not void.
Allow hooking class methods. Fixes #20.