Add block menu to mutator. Refactor qml into components to avoid code duplication.