Added an enum for config key names. Should keep everything nice and
tidy.