Modifying private visibility to protected in order to provide better extensibility