Added jsdoc for the parameters of the new functions.