Also hooks it with the replication subsystem and ensures the collection is created on promotion to primary.