Make timeInterval configurable.