Factor out comparison implementation.
Remove redundant tab characters.