Cleanup obsolete activity.