Fix visibility for a method