Fix up JSDoc for core module