Add revisions and clean things up