collect is not defined on TraversableOnce (in 2.9)