Added support for checking retval against a block