The rule of the common law, that statutes in derogation thereof are to be strictly construed, has no application to this code. This code establishes the law of this state respecting the subject to which it relates, and its provisions are to be liberally construed with a view to effecting its objects and promoting justice.
Ca. Evid. Code § 2