Add support for gradully replay