Added method visibility to the array class