Adding refresh interval.