Added a document equality operator