Add support for repeating.