More flexible API on IFolderDiscriminator.