Remove dead code
This code seems completly unecessary