Usable and useless classes written in Scala