Fix 4.01 compatibility.