Fixed: custom field values on devices (properties) + some pep8 cleaning.