Iterate over arrays via forEach instead of for...in.\nFixes #77