That code must handle both ReplicatedBackend and ECBackend.