Fixed compile errors introduced in commit fe7cb819d187c411a1c5c09784899598baebddfb.
Improved the user assertions of the input data in the Array constructor.
Removed an unused function from Array.