Remove unused db events.