Add JSDoc comments