More JSDoc documentation