Implement global highlights and save&restore.