Add api_warning_level field to Variable model