This class is in the `replication` package. I don't think the `mazha` package should import anything from the `replication` package -- it should be a strictly lower-level package.

The `changes` method here can handle translating from the Replication type to the primitive types mazha uses.