Added an enum declaration for Type