Add repr to Device
Fix deadlock in RETURN_BOOL
0.2.2