Restore ABI compatibility broken in 29bb6d
In that commit, I removed an overridden function on the assumption that existing code would fall back to the base class's function, but this was wrong and broke ABI compatibility.
(cherry picked from commit 3d9d07dc)