I was wrong, it's okay. Here's an example: https://github.com/miniboxing/miniboxing-plugin/blob/master/components/plugin/src/miniboxing/plugin/MiniboxTreeSpecializer.scala#L101-L115