Improved required parameter handling for the array type. Improved default value handling for the array type.