Changed feature flags into enum class