master branch doesn't use c++11, so `enum class` will not be valid.