Reimplement object initialization for Yieldable.

This solution is both more dynamic and terse.