Polished the ResourceLoader