Implement replay command.