Adaptive array classes