Added more documentation to warn future developer about foreach