Enable interop to use untyped Java collections.

This provides a way to treat some 6model object as a plain old Java
object for a while, then later on recover the underlying 6model
object once again. This is useful when wanting to use some of the
built-in Java collection classes.