Fix compile errors in unused code I broke.