Fixed up decode.