Changes abstract Device class into an interface.