Fixed a bug in FeedValue
Replaced NewPipeFunc with GenSource and GenSink