added docs for 'intersect' and 'in' template functions