Fix EOS compatibility.