Fixed support for other extensions for scala.