Added comment support, mapping/reducing macros, and flattening arrays.