Updated jsdoc comments to make better API docs using dox.