creates it if it doesn't exist. * Rename resource_list_remove() to resource_list_delete() for consistency.