Remove unused functions.
Remove more dead code.