Removed cast to array.