fixed #16
Merge pull request #17 from MindaugasR/composer

fixed #16
Changed usage of DocumentTrait attributes from public to setters/getters.
Merge pull request #18 from gimikus/document-trait-attributes

Changed usage of DocumentTrait attributes from public to setters/getters