Remove dead code

This includes the representations support, which is going to be rebuilt.