Added jsdocs