Moving shared inner enum class from server to shared.