Remove accidental pub qualifiers from two functions