Implementing ResourceManager.