Rename max attrs so that their names are consistent