Lint

Mostly adding comments to exported types, methods, etc.