Added some array extensions