Port ValueAdjuster to Scala