Changed parseDocs' type

For better error reporting.
Fix code review notes
Merge pull request #40 from jspahrsummers/comment-errors

Changed parseDocs' type