Added to createStratifiedInstances(..).