Added multi-dimentional array support.