Added back David's changes to revisions_history