extract ParamsCleaner class