Renaming entities to resources