Made small changes to the idp and smime modules