Resolve array references