The notes, mortgages, releases, deeds and other necessary papers or instruments when so executed are not subject to avoidance by the minor or the husband or wife of the minor upon either or both of them attaining the age of 18 because of the minority of either or both of them at the time of the execution thereof.