Implement compare of 2 documents between them selfs.