ts, ns and pk is implemented as functions. This cause runtime errors due to invalid execution of now like functions while applying stream modifiers.