add documentation for iter functions.