Changed private members to protected for extention