Added some array methods.