Implement support for returning from a block inside method (#303)