Adds method repeat in three ways.