remove a bunch of useless code to do with serialising adaptors that never worked anyway