Resources class is now a singleton.