Change config types to Enums.