Improve array accessor