Remove unscoped variables in params class