Remove some unneded visibility modifiers.