New spec for iterator functions.