Implemented return node in method emitter.