Trying to overload comparision for Document