Add replay to assist debugging.