Added ability to concat arrays of elements.