Wrapping a container around yield