Fixed small issues with the Array class.