Added new array method and modified existing ones.