Added some methods to Array