make Array more consistent with Buffer implementation