Fix dumper class for traits