Added support for repeatInterval.