Added getObjectManager() so other extensions can access it.