[MINOR] Removed unused method