API and config hash tidy-up
Correct comment