Fixed function-pointer compatibility.