Remove unneeded stubs.