Finally removed the useless "resources" class!