Fix missing_doc warning
Use indexing; fix deprecation warnings
Merge pull request #37 from darinmorrison/master

Fix warnings