Changed private to protected for https