core: ref and jsdoc