Fix mdef.