Changed Device private members to protected