Cleaning up the function docs by using jsdoc moar better.