Added docs in foreach