Completed Device class