Added vanilla.Threshold