Add a _cfg method to Config, to allow for inline changes to
the config. Handy when writing tests.