Implement defaults, fix linting issues, and update docs.