Add hack for backword compatibility.