Added EnumResult and modified methods prototypes