Rename class attribute from device_path to path