Adding __repr__ to corpus and unit