Rename resources_types => resource_types