Removed the "unused parameter.." warning.