Remove useless SDD and homomorphism constructor from a moved ptr.