Get rid of obsolete entry points.