Adds support for revision object that has a Document based user, fixes #1.