Add compatibility for RavenDB version 3.0+