Remove unused local stuff