Added a generic array class.