Notwithstanding any other provisions of this act as amended regarding the rights of officers or employees to designate beneficiaries of their pension benefits after their death, every male or female officer or employee having a spouse or unmarried child or children under the age of 18 years shall have the right at any time to designate such spouse or such child or children as beneficiary ofsuch officer’s or employee’s pension benefits, the amount of such pension benefits to be the same as provided for beneficiaries elsewhere in this act as amended, and provided that the additional contributions for beneficiaries required in this act as amended are made; provided, however, that as to every male officer or employee hereafter elected or employed participation for the benefit of such officer’s or employee’s wife or unmarried child or children under the age of 18 years shall be compulsory. Any and all provisions of this act, as amended, conferring benefits or placing restrictions on the wife or widow, as beneficiary, of male officers or employees, shall apply equally and in the same manner to the husband or widower as beneficiary of female officers or employees. Whenever, in said act, as amended, a beneficiary is designated as a wife or widow, such shall also include the husband or widower of a female officer or employee, if such should be the case. A child or children of a female officer or employee, who has provided for payment of a pension to her beneficiary, shall be entitled to the same benefits and subject to the same restrictions as may now or hereafter apply to the child or children of a male officer or employee, as provided in said act, as amended.