Added valuesOfAllTypes() in place of the enum's values(), which returns array