virtual classes plugin in scala-options