No provision of this chapter shall apply to companies carrying on the business of life or casualty insurance on the assessment or annual premium plan, under the provisions of this code.