Fix issue in which type expressions eat trailing whitespace.