Remove unused method with imports

1 job for backend/refactor/speculative-generality in 55 seconds (queued for 1 second)