axon2 to axon3 migration

hi all:

In axon2.4.3:
An (unique) index is automatically created on “aggregateIdentifier”, “type” and “sequenceNumber” in the domain events (default name: “domainevents”) collection(index name:“uniqueAggregateIndex”)
org.axonframework.eventstore.mongo.DocumentPerEventStorageStrategy

But in axon3:

An (unique) index is automatically created on “aggregateIdentifier” and “sequenceNumber” in the domain events (default name: “domainevents”) collection(index name:“uniqueAggregateIndex”)

The “type” doesn’t exist? I can’t upgrade to axon 3, Some assistance would be appreciated. Thanks.
org.axonframework.mongo.eventsourcing.eventstore.AbstractMongoEventStorageStrategy

Type still exists, but it is no longer part of the unique combination. An identifier for an entity should uniquely identify it.

All classes are extensible (if not configurable), so if you need other behavior, you should be able to simply override it, if your application doesn’t stick to these practices.

Allard