Convert all classes that read resources to use a resource resolver.