Add documentation to yield