Refactor unused parameters smell detector

Decreases reek's smelliness.