fixed doc get being an object containing a function
Merge pull request #6 from makepanic/patch-1

fixed doc get being an object containing a function