prepend, append and tee now take multiple functions to avoid having to use seq everywhere.