More fixes to produce()
Now every object can be created.