Port SimpleBooleanModel to Scala