Changed access modifier from public to protected