Added support for C++11 strongly typed enums