add methods to Scala Wrapper (6)

includes typesafe dematerialize