I found a way: https://github.com/akka/akka/commit/1e3ce48a13627edef89b71698c528e37eba07930#diff-072b8aa1612e3872043af7d8c5984099R11

and a small cast in `Replicator`: https://github.com/akka/akka/commit/1e3ce48a13627edef89b71698c528e37eba07930#diff-0c9bdbe5e00aa28cd3b53ed792427aeeR139