Fixing deprecations.
Merge branch 'master' of github.com:evgeny-myasishchev/event-store