Minor changes (mainly JSDoc)