expenses in connection with acceptance of a gift to the United States Merchant Marine Academy Section 51315 of title 46, United States Code, is amended by inserting at the end the following: (f) Payment of expenses The Maritime Administrator may pay all necessary expenses in connection with the conveyance or transfer of a gift, devise, or bequest accepted under this section. . 6. Authority to participate in Federal, State or other research grants (a) Research grants Chapter 513 of title 46, United States Code, as amended by section 3 through 5, is further amended by adding at the end the following: 51321. Grants for scientific and educational research (a) Defined term In this section, the term qualifying research grant is a grant that— (1) is awarded on a competitive basis by the Federal Government (except for the Department of Transportation), a State, a corporation, a fund, a foundation, an educational institution, or a similar entity that is organized and operated primarily for scientific or educational purposes