Allows repeat to be redefined