Update documentation, fix the flake8 configuration.