Remove redundant parameter.clear()s from mode handlers