Use valid enum syntax instead of invalid alias syntax