public DocumentProtocol putRoutableFactory(int type, RoutableFactory factory, List<VersionSpecification> versions) {
        for (VersionSpecification version : versions) {
            putRoutableFactory(type, factory, version);
        }
        return this;
    }
Convenience method to call {@link #putRoutableFactory(int, RoutableFactory, com.yahoo.component.VersionSpecification)}
for multiple version specifications.

@param type     the routable type to assign a factory to
@param factory  the factory to add
@param versions the versions for which this factory can be used
@return this, to allow chaining
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java