Tidy up revisions