Added paramsChanged handler