Can't yield to undefined, so yield to null instead.