Uses the provided getObjectManager() function