Python API: reordering Device methods and properties.