Remove unused method def