Removed redundant searches through ResourceManager::resources