Scala requires compilation unit to generate fresh symbol