Add synchronize to enum class