Remove unnecessary method qualifiers for methods