Any contract heretofore or hereafter entered into shall subject the contracting agency and its employees to all provisions of this part and all amendments thereto applicable to members, local miscellaneous members, or local safety members except those provisions that are expressly inapplicable to a contracting agency until it elects to be subject to those provisions.