Initial implementation of yield.