Allow blocks to be used for callbacks