Impletement some QML APIs