Fix for 10.6 compatibility.