Remove unused code from Entry.