Added some methods to the mutable array class