device_proxy.py: Clean code, respects PEPs