Make document deserialize method static.
Implement document comparison functionality to allow evaluation of equal/similar documents.