Fix method visibility.