Remove all functions except qformat