Removed deprecated code

I haven't tested this but I don't see why it won't work!