Added a bit of jsdoc;