Some text generation changes.