For the purposes of record, a deed of trust, given to secure an indebtedness, shall be treated as a mortgage of real estate, and recorded in full in the book provided for mortgages of real property. The person who makes or executes the deed of trust shall be indexed as “mortgagor,” and the trustee and the beneficiary or cestui que trust, as the “mortgagees.”