Refactor Array type.