The requirements of this article may be complied with by the insurer by attaching to the policy such rider or endorsement as may be necessary for the purpose.