Keep in mind that fan.value in this example would be object.propertyName in QML.