Lint and documentation fixes