. . . "Such deed of trust, indenture, or other agreement may contain such provisions" .