Remove more unused functions.