Use flag instead of d-parameter.