Added support for 2D arrays to mAppend