Change the trust and purpose code so it doesn't need init