Move `config` function out to new config module to avoid name clashes.