Add/Improve JSDoc documentation.