Removed some no-longer-used code in C impl.