model generator magic — not really magic.  More slight-of-hand.

@darbyfrey