Remove redundant modifiers.