Updated JSDoc documentation.