Array support.
Some minor optimizationes.