Add support for periodic refresh.