remove unnecessary visibility qualifiers