Renames positions -> types.