Unnecessary Stream was replaced by Seq of functions.