Convert functions to Transform Stream