GRADLE-2762: Fixed field/method visibility.