valid_types is no longer used