Split config parsing out of parse.h.