Fixing unused parameter warning rather than ignoring it