Clean up the definition of corpus.