Refactoring on QML.