JSDoc improvements