Added loading of objectgroups and properties.