Managed object factory for constructing managed objects