Add foreach statement.