callback wrapper for blocks and overriden methods