Fix mock.impersonate.