Added the "official" way to modify a list while iterating through it.