Added arrays and functions support.