Adding resource manager.