Removing some unused parameters.