added Scala interop support for None/Some()