Added JsDoc comments.