Remove calls to isArray.