Added db_enum helper class.