Fix signature decoding.