MISC replace two boolean parameters by a single string parameter.