Removed not needed 'foreach' in 'Elements' section

Removed not needed 'foreach' in 'Elements' section's code block