Be sure to finalize the identity encoding.