Implemented parseEnum as a stub