Rename a type