Use ParamChecks and fireChangeEvent().