changes visibility of local methods