Avoid calling type() in ArrayNode constructor.