Moving solution from https://github.com/jkonecki/Orleans.EventSourcing repo.