fixed the definitions so jsdoc 3 outputs them a bit better.