Improvements to JSDoc comments