If you're doing this check, why isn't `params` an optional argument?