Document struct and its accessors
Document accessors bit more
Merge pull request #11 from tkf/document-struct

Document struct and its accessors