Added jsdoc style comments