Remove an unused function and some public tags.