Add a new container with Java 8 and Scala