Added comparator prototype.