chore: remove unused and broken code (#3460)