Look toward the bottom of that file and you'll see another whole #if 0 chunk of code.  I resisted cleaning that up to keep the diffs on-topic in this PR but it's a mess.