Style nitpick: Insert one space after `if` and `foreach` keywords in all places.