Fixed typo in Device class