Cleaned up setup code and docs config [skip ci].