Change list_type to enumerate.