Add jsdoc for this function, please.