Added arrays and made slot/array/application access recursive.