Make mergeable commands (for undo history) overridable.