Update documentation for comparison functions