Remove stale functions