Rename 'repeat' to 'repeatFunction'