removes unused method