Add explicit code to clean up GMP structures when done.