make documents optional
Merge pull request #14 from simod/contrib-refactor

make documents optional