Accept QSpec argument to set_param_type