Changed visibility from private to protected.