public Builder version(final GryoVersion version) {
            this.version = version;
            this.typeRegistrations = version.cloneRegistrations();
            return this;
        }
The version of Gryo to use in the mapper. Defaults to 1.0. Calls to this method will reset values specified
to {@link #addCustom(Class, Function)} and related overloads.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoMapper.java