Added array and dictionary functionality