Fix jsdoc and naming.