rename package stage.codec to codec