Initial decoder work.