Clean up jsdoc comments

Add class properties, expose some methods that should have
been documented, etc.