Add resources from classes