Document:

Exhibit 10.1

 Exhibit 10.1 

SECOND AMENDMENT TO AMENDED AND RESTATED WAREHOUSING CREDIT 

AND SECURITY AGREEMENT 

THIS SECOND AMENDMENT TO AMENDED AND RESTATED WAREHOUSING CREDIT AND SECURITY AGREEMENT (this “Second Amendment”) is
made effective as of the 17th day of June, 2014, by and among WALKER & DUNLOP, LLC, a Delaware limited liability company (“Borrower”), WALKER & DUNLOP, INC., a Maryland corporation (“Parent”), the
lenders party to the Credit Facility Agreement defined below (the “Lenders”) and PNC BANK, NATIONAL ASSOCIATION, in its capacity as administrative agent for the Lenders under the Credit Facility Agreement (hereinafter referred to in
such capacity as the “Administrative Agent”). 
 R E C I T A L S 

WHEREAS, the Lenders and Borrower are parties to that certain Amended and Restated Warehousing Credit and Security Agreement, dated as of
June 25, 2013, by and among Borrower, Parent, the Lenders and the Administrative Agent (the “Original Credit Facility Agreement”), as amended by that certain First Amendment to Amended and Restated Warehousing Credit and
Security Agreement, dated as of December 20, 2013 (the “First Amendment”, and the Original Credit Facility Agreement, as amended by the First Amendment, is herein the “Credit Facility Agreement”), whereby upon
the satisfaction of certain terms and conditions set forth therein, the Lenders agreed to make Warehousing Advances from time to time, up to the Warehousing Credit Limit (each such term as defined in the Credit Facility Agreement). 

WHEREAS, Borrower has requested, and the Administrative Agent and the Lenders have agreed, pursuant to the terms hereof, to modify certain
terms of the Credit Facility Agreement as set forth in this Second Amendment. 
 NOW, THEREFORE, for and in consideration of the premises,
the mutual entry of this Second Amendment by the parties hereto and for other good and valuable consideration, the receipt and adequacy of which are hereby acknowledged, the parties hereby agree as follows: 

Section 1.    Recitals. The Recitals are hereby incorporated into this Second Amendment as a
substantive part hereof. 
 Section 2.    Definitions. Terms used herein and not otherwise defined
shall have the meanings set forth in the Credit Facility Agreement. 
 Section 3.    Amendments to Credit
Facility Agreement. The Credit Facility Agreement is hereby amended as follows: 
 (a) Section 1.2 of the Credit Facility Agreement
is hereby deleted and replaced with the following: 
 “The Warehousing Commitment expires on the earlier of (“Warehousing
Maturity Date”): (a) June 23, 2015 (the “Stated Maturity Date”), on which date the 

 
Warehousing Commitment will expire of its own term and the Warehousing Advances together with all accrued and unpaid interest and costs and expenses will become due and payable without the
necessity of Notice or action by Lenders; and (b) the date the Warehousing Commitment is terminated and the Warehousing Advances become due and payable under Section 10.2(a) or 10.2(b).” 

(b) Section 9.1(x) of the Credit Facility Agreement is hereby modified as follows: 

“Neither Borrower nor any of Borrower’s Affiliates has any ownership interest, right to acquire any ownership interest or equivalent
economic interest in any property securing a Pledged Loan or the mortgagor under the Pledged Loan or any other obligor on the Mortgage Note for such Pledged Loan, except as and to the extent permitted by the applicable Federal Agency issuing a
Purchase Commitment with respect to such Pledged Loan.” 
 Section 4.    Ratification, No Novation,
Effect of Modifications. Except as may be amended or modified hereby, the terms of the Credit Facility Agreement are hereby ratified, affirmed and confirmed and shall otherwise remain in full force and effect. Nothing in this Second Amendment
shall be construed to extinguish, release, or discharge or constitute, create or effect a novation of, or an agreement to extinguish, release or discharge, any of the obligations, indebtedness and liabilities of Borrower or any other party under the
provisions of the Credit Facility Agreement or any of the other Loan Documents, unless specifically herein provided. 

Section 5.    Amendments. This Second Amendment may be amended or supplemented by and only by an
instrument executed and delivered by each party hereto. 
 Section 6.    Waiver. The Lenders shall
not be deemed to have waived the exercise of any right which they hold under the Credit Facility Agreement unless such waiver is made expressly and in writing (and no delay or omission by any Lender in exercising any such right shall be deemed a
waiver of its future exercise). No such waiver made as to any instance involving the exercise of any such right shall be deemed a waiver as to any other such instance, or any other such right. Without limiting the operation and effect of the
foregoing provisions hereof, no act done or omitted by any Lender pursuant to the powers and rights granted to it hereunder shall be deemed a waiver by any Lender of any of its rights and remedies under any of the provisions of the Credit Facility
Agreement, and this Second Amendment is made and accepted without prejudice to any of such rights and remedies. 

Section 7.    Governing Law. This Second Amendment shall be given effect and construed by application
of the law of the Commonwealth of Pennsylvania. 
 Section 8.    Headings. The headings of the
sections, subsections, paragraphs and subparagraphs hereof are provided herein for and only for convenience of reference, and shall not be considered in construing their contents. 

Section 9.    Severability. No determination by any court, governmental body or otherwise that any
provision of this Second Amendment or any amendment hereof is invalid 

  
 2 

 
or unenforceable in any instance shall affect the validity or enforceability of (i) any other such provision or (ii) such provision in any circumstance not controlled by such
determination. Each such provision shall be valid and enforceable to the fullest extent allowed by, and shall be construed wherever possible as being consistent with, applicable law. 

Section 10.    Binding Effect. This Second Amendment shall be binding upon and inure to the benefit of
the Administrative Agent, the Borrower, the Lenders, and their respective permitted successors and assigns. 

Section 11.    Counterparts. This Second Amendment may be executed in any number of counterparts, each
of which shall be deemed to be an original and all of which shall constitute one and the same instrument. 
 [REMAINDER OF PAGE
INTENTIONALLY BLANK] 

  
 3 

 Exhibit 10.1 

IN WITNESS WHEREOF, each of the parties hereto have executed and delivered this Second Amendment under their respective seals as of the day
and year first written above. 
  

			
	WALKER & DUNLOP, LLC, as Borrower
		
	By:	 	/s/ Stephen P. Theobald
	Name:	 	Stephen P. Theobald
	Title:	 	Executive Vice President, Chief Financial Officer & Treasurer

  

			
	WALKER & DUNLOP, INC., as Parent
		
	By:	 	/s/ Stephen P. Theobald
	Name:	 	Stephen P. Theobald
	Title:	 	Executive Vice President, Chief Financial Officer & Treasurer

  

			
	 PNC BANK, NATIONAL ASSOCIATION,
 as
Administrative Agent and Lender

		
	By:	 	/s/ Donald Thomas
	Name:	 	Donald Thomas
	Title:	 	Officer

  

			
	 WELLS FARGO BANK, NATIONAL

ASSOCIATION, as Lender

		
	By:	 	/s/ John Nelson
	Name:	 	John Nelson
	Title:	 	Managing Director

  
 Signature Page to Second AmendmentEX-4.1

 Exhibit 4.1 

AMENDMENT NO. 4 
 dated as of
June 18, 2014 
 to 
 Trust
Indenture 
 of SPDR® GOLD TRUST 

dated as of November 12, 2004 

This Amendment (this “Amendment”), dated as of June 18, 2014, is to the Trust Indenture (the “Trust
Indenture”) of the SPDR® GOLD TRUST (the “Trust”), dated as of November 12, 2004, and as amended from time to time, between World Gold Trust Services, LLC, as
the sponsor of the Trust (the “Sponsor”), and The Bank of New York Mellon, as the trustee of the Trust (the “Trustee”). This Amendment will become effective 45 calendar days from the date first set forth above. 

WHEREAS, the Sponsor wishes to amend the Trust Indenture for the following reasons: (i) to provide that Creation Baskets shall only be
issued and delivered by the Trustee after the Creation Basket Gold Deposit Amount received by the Trust from a Participant has been transferred from the Trust Unallocated Account to the Trust Allocated Account; (ii) to make explicit that the
Sponsor may direct the Trustee to remove a Custodian to the extent permitted by, and in the manner provided by, the Custody Agreements; (iii) to add a provision that defines the record date for all matters requiring a record date under the
Trust Indenture; (iv) to clarify the methodology used by the Trustee to value the Gold held by the Trust and the Net Asset Value per SPDR® Gold Share of the Trust on each Business Day;
(v) to make explicit that the Sponsor has the right to waive part or all of the fee it receives from the Trust for its services under the Trust Indenture; and (vi) to clarify the right of the Sponsor (a) to register or qualify the
SPDR® Gold Shares or to list the SPDR® Gold Shares on exchanges and securities markets and to maintain or discontinue any such
registrations, qualifications or listings, in each case in such jurisdictions as the Sponsor may determine, and (b) to take certain actions in connection therewith that are not otherwise provided for in the Trust Indenture; 

WHEREAS, Section 10.01 of the Trust Indenture provides, in pertinent part, that the Sponsor and the Trustee may amend the Trust Indenture
“to cure any ambiguity or to correct or supplement any provision hereof which may be defective or inconsistent or to make such other provisions in regard to matters or questions arising hereunder as will not materially adversely affect the
interests of Beneficial Owners as determined in good faith by the Sponsor”; and 
 WHEREAS, all conditions and requirements necessary
to make this Amendment a valid instrument that is legally binding on the parties hereto and on the Beneficial Owners have been satisfied. 

 NOW, THEREFORE, the Sponsor and the Trustee agree as follows: 

1. (a) Section 2.03(a)(iii) of the Trust Indenture is hereby amended to read in its entirety as follows: 

 

	 	(iii)	After accepting a Participant’s Purchase Order, the Trustee will issue and deliver Creation Baskets to fill a Participant’s Purchase Order at or shortly after 11:00 a.m. New York time on the third
Business Day after the Purchase Order Date, but only if by such time the Trustee has received (A) for its own account, the Transaction Fee, (B) for the account of the Trust, the Cash Deposit, if any, and (C) notice from the Custodian
(which need not be the Custodian’s official report of transactions for such day) that (1) the Custodian has received for the account of the Trust to the credit of the Trust Unallocated Account (or other Custody Account provided for in the
relevant Custody Agreement), from the Participant Unallocated Account (or other account of the Participant from which Gold may be transferred to the Trust in accordance with the relevant Custody Agreement) the Creation Basket Gold Deposit Amount due
from the Participant submitting the Purchase Order and (2) the Custodian has transferred an amount at least equal to the Creation Basket Gold Deposit Amount from the Trust Unallocated Account (or other Custody Account provided for in the
relevant Custody Agreement) to the Trust Allocated Account (or other Custody Account provided for in the relevant Custody Agreement). 

(b) The first sentence of Section 3.02(b) of the Trust Indenture is hereby amended to read in its entirety as follows: 

(b) From time to time, the Sponsor may direct the Trustee (i) to remove the Custodian to the extent permitted by, and in
the manner provided by, the Custody Agreements or (ii) to employ one or more other custodians (each, an “Additional Custodian” or a “Successor Custodian”) in addition to or in replacement of the Initial Custodian or any
Successor Custodian or Additional Custodian for the safekeeping of Gold and services in connection with its deposit and delivery, provided that the Sponsor may not direct the employment of a Successor Custodian or an Additional Custodian without the
Trustee’s consent, if such employment would have a materially adverse effect on the Trustee’s performance of its duties hereunder. 

(c) (1) The definition of “Distribution Date” set forth in Article I of the Trust Indenture is hereby amended to read in its
entirety as follows: 
 Distribution Date. 

The date(s) for distribution of amounts from the Cash Account pursuant to Section 3.05(d), established by the Sponsor and Trustee
pursuant to Section 3.12. 

  
 -2- 

 (2) The definition of “Record Date” set forth in Article I of the Trust Indenture
is hereby amended to read in its entirety as follows: 
 Record Date. 

The date(s) established by the Sponsor and the Trustee pursuant to Section 3.12 for distributions from the Cash Account pursuant to
Section 3.05(d). 
 (3) The following new Section 3.12 is hereby added to the Trust Indenture: 

Section 3.12. Fixing of Record Date. 

Whenever any distribution will be made, or whenever the Trustee receives notice of any solicitation of proxies or consents from
Beneficial Owners, or whenever for any reason there is a split, reverse split or other change in the outstanding SPDR® Gold Shares, or whenever the Trustee shall find it necessary or
convenient in respect of any matter, the Trustee, in consultation with the Sponsor, shall fix a record date for the determination of the Beneficial Owners who shall be (i) entitled to receive such distribution or the net proceeds of the sale
thereof, (ii) entitled to give such proxies or consents in respect of any such solicitation, (iii) entitled to receive SPDR® Gold Shares as a result of any such split, reverse split
or other change and (iv) entitled to act in respect of any other matter for which the record date was set. 
 (d) The following new
sentences are hereby added to the end of Section 4.01 of the Trust Indenture: 
 Gold deliverable under a Purchase Order shall be
included in the evaluation beginning on the first Business Day following the Purchase Order Date therefor. Gold deliverable under a Redemption Order shall not be included in the evaluation on and after the first Business Day following the Redemption
Order Date therefor. 
 (e) (1) The following clause is hereby deleted from the last sentence of the first paragraph of
Section 5.01 of the Trust Indenture: 
 (which shall take into account the settlement of Creation Baskets and Redemption Baskets
occurring on such date) 
 (2) The following new sentences are hereby added to the end of the first paragraph of Section 5.01 of the
Trust Indenture: 
 For purposes of this Section 5.01: (i) SPDR® Gold
Shares deliverable under a Purchase Order shall be considered to be outstanding beginning on the first Business Day following the Purchase Order Date therefor; and (ii) SPDR® Gold Shares
deliverable under a Redemption Order shall not be considered to be outstanding on and after the first Business Day following the Redemption Order Date therefor. Fractions smaller than $0.01 shall be disregarded in such evaluations. 

  
 -3- 

 (f) The following new sentences are hereby added to the end of Section 7.04 of the Trust
Indenture: 
 The Sponsor may, at its sole discretion and from time to time, waive all or a portion of its fee payable under this
Section 7.04 for such periods of time as shall be specified in the Sponsor’s written notice of such fee waiver to the Trustee. The Sponsor is under no obligation to waive its fees hereunder, and any such waiver shall create no obligation
to waive fees during any period not covered by the applicable waiver. Any fee waiver by the Sponsor shall not operate to reduce the Sponsor’s obligations hereunder 

(g) Section 10.02 of the Trust Indenture is hereby amended to read in its entirety as follows: 

Section 10.02. Registration (Initial and Continuing) of
SPDR® Gold Shares; Listing of SPDR® Gold Shares; Certain Securities Law Filings.  

The Sponsor agrees and undertakes on its own part or to appoint an agent (i) to prepare and file a registration statement
with the SEC under the Securities Act of 1933, as amended, and take such action as is necessary from time to time to qualify the SPDR® Gold Shares for offering and sale under the federal
securities laws of the United States, including the preparation and filing of amendments and supplements to such registration statement, (ii) promptly to notify the Trustee of any such amendment or supplement to the registration statement or
Prospectus and of any order preventing or suspending the use of the Prospectus; (iii) to provide the Trustee from time to time with copies, including copies in electronic form, of the Prospectus, in such quantities as the Trustee may reasonably
request, (iv) to prepare and file any periodic reports or updates that may be required under the Securities Exchange Act of 1934, as amended, (v) to take such action as is necessary or advisable from time to time to register or qualify the
SPDR® Gold Shares for offering and sale under the securities or blue sky laws of those States of the United States or other jurisdictions as the Sponsor may select, to maintain any such
registration or qualification in effect for so long as the Sponsor may determine and to discontinue any such registration or qualification at such time as the Sponsor may determine and (vi) to take such action as is necessary or advisable from
time to time to list the SPDR® Gold Shares on the Exchange and on such other exchanges or securities markets in such jurisdictions as the Sponsor may select, to maintain any such listing in
effect for as long as the Sponsor may determine and to discontinue any such listing at such time as the Sponsor may determine. In connection with the registration or qualification of the SPDR®
Gold Shares in jurisdictions other than the States of the United States and the maintenance or discontinuance thereof or the listing of the SPDR® Gold Shares on exchanges or securities markets
in such jurisdictions and the maintenance or discontinuance thereof, the Sponsor may in its sole discretion take such action that is not otherwise contemplated for the Sponsor under this Agreement, including assuming duties, obligations and
liabilities not otherwise contemplated under this Agreement. Fees and expenses related to the 

  
 -4- 

 
registration, qualification, maintenance or discontinuance of the SPDR® Gold Shares for offering and sale, the listing, maintenance or
discontinuance of the SPDR® Gold Shares on the Exchange and on one or more other exchanges or securities markets, the preparation and filing of the Trust’s periodic and other reports
required under federal, state or foreign securities or other laws, registration charges, blue sky fees, printing costs, mailing costs, attorney’s fees and other miscellaneous out-of-pocket expenses related to the activities described in this
Section 10.02 shall be borne by the Trust in the manner provided for by Section 3.05. 
 2. Except as modified by this Amendment,
the Trust Indenture shall remain unmodified and in full force and effect. 
 3. Capitalized terms used but not defined in this Amendment
shall have the meanings assigned to such terms in the Trust Indenture. 
 4. This Amendment may be executed in any number of counterparts,
each of which when executed and delivered shall be deemed an original, but together shall constitute one and the same amendment. 

[Signature Page Follows] 

  
 -5- 

 IN WITNESS WHEREOF, the Sponsor and the Trustee have duly executed and delivered this Amendment
as of the date first above written. 
  

			
	World Gold Trust Services, LLC, as Sponsor
		
	By:	 	 /s/ Kevin Feldman

	Name:	 	Kevin Feldman
	Title:	 	CEO
	
	The Bank of New York Mellon, as Trustee
		
	By:	 	 /s/ Stephen Cook

	Name:	 	Stephen Cook
	Title:	 	Managing Director

 [Signature Page to Amendment No. 4 to
 Trust Indenture of SPDR® GOLD TRUST] 

  
 -6-

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00232-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00232-of-00352.parquet"}]]