Fixes the compilation problem, but breaks Scala hovers in play template

editors