Adding jsdocs.
Adding jsdocs.