Renamed resources to resource.