change method visibility.