Removes extra parameters to test.