Added TailProduce static code and macros for streams definition.

should say OrderKey(<some trait>)