Add enumerate implementation