Adding jsdocs.