remove unused code

The title is self-explanatory,
Obviously, you might want to keep some of those, so I'm waiting for feedback.