Corrected uppercase typo in function name.
Added Edge class to @return Document, to avoid warnings in IDE's code completion/analysis
Some minor corrections to tests
Minor Formatting
Correction of copy-paste error
Merge pull request #151 from frankmayer/devel

A bunch of corrections