Remove obsolete entries