public function loadObjectState($objectStateGroupId, $objectStateId) { return new RestObjectState($this->objectStateService->loadObjectState($objectStateId), $objectStateGroupId); }