Further improve Scala collection integration.