Changed public to protected