Simplify scanner by removing need for a 'onComment' callback.