Should be `import scala.collection.immutable`, like you've done in other places.