Renames types to model