Move comparisons to separate file.