The parties to a loan other than a consumer loan may agree in a writing signed by the parties that the loan is subject to the provisions of this title applying to consumer loans. If the parties so agree, the loan is a consumer loan for the purposes of this title.