Changed default access specifier to protected