Custom array class.