Added comparison and relational functors.