Make method protected for access
Export symbols for the release build as per needed for the QML compiler.