Added and improved jsdoc annotations