Let's use typesafety in the config stuff.