Remove the "lmax" OptionDef. The equally named AVOption takes over its function.