More changes to append-text.