Refactoring on recent activity history.