Remove unnecessary params.