Support anonymous classes in Module#name