Implemented decoding of typed vectors.