Fixed Enum warning by added the enums