lib: Remove dead code and add missing semicolons

... ocd.
Merge branch 'master' into misc-cleanup

* master:
  test: Fix 406 message assertion
  package: Pin `mocha` and update `co-mocha`
Merge pull request #51 from stephenmathieson/misc-cleanup

lib: Remove dead code and add missing semicolons