Removed unusued parameter to clear warning.