adds a class for dumping the type-usages in a file