HOPKINS: Refactor several functions in ObjectsManager