Whip together an EntityFactory mixin