Generate heap based objects from interfaces.