Removing unnecessary parameters.