#2589: Added resizable option in ValueTypeArray and refactored the array implementations and interfaces.