Move code from project 'history'.