When Congress passes a spending bill, it's never just about the money: Massive omnibus legislation like the deal agreed to late Sunday are a vehicle for all kinds of changes to American policy. The headlines about the 1,665-page bill surround its billions of dollars of new spending for the military and border security—and the total absence of any money for President Donald Trump's wall between the U.S. and Mexico. But while those issues have dominated the news during the high-stakes negotiations, the bill also contains a long list of smaller policy changes, on everything from medical marijuana to the official name of a certain type of crab.

These changes are often buried in legalese, and sometimes even lawyers have difficulty determining what exactly they mean. But they will touch almost every aspect of the country. And as with Congress’ refusal to fund the border wall and make major cuts to domestic agencies, the changes clearly run against Trump's policy priorities. Here are six policy changes—big and small—tucked into the bill:

1. More immigrant workers. The bill quietly increases the number of non-agricultural guest workers who can receive a temporary visa to work in the U.S. The visa program, known as H-2B, is officially capped at 66,000 visas per year—but the spending bill enables the Trump administration to effectively double the number available this year, allowing as many as 69,000 additional visas to workers in 2017. The actual legislative language is confusingly written and immigration lawyers struggled at first to interpret it—to critics, an indication that appropriators wanted to sneak the changes into the bill with little fanfare. (It’s what they did in last year’s spending bill as well, which allowed workers who came to the U.S. in 2013, 2014 or 2015 to return in a later year and not count against the H-2B cap.)

Boosting the cap from 66,000 to 135,000 would please the business community and infuriate many labor activists and anti-immigration hard-liners who have long argued that businesses exploit the H-2B program to undercut American workers. It may never happen—the authority to expand the program lies with the secretary of homeland security, and it's hard to imagine the administration throwing open the door to tens of thousands of new foreign workers. But the president now has that power.

2. Protections for medical marijuana. This section of the spending bill isn’t actually new—but it takes on new importance with Trump in the White House and Jeff Sessions leading the Department of Justice. The bill blocks the DOJ from spending money to prevent states from “implementing their own laws that authorize the use, distribution, possession, or cultivation of medical marijuana.” That measure was insignificant in previous years, because the Obama administration took a lax attitude toward enforcement of federal marijuana laws. But Sessions has adopted a much tougher anti-drug policy and has indicated that he may strictly enforce federal marijuana laws. For states that have legalized recreational marijuana, he can do so. But when it comes to medical marijuana laws, the new bill significantly ties his hands.

3. An emergency fund for infectious diseases. With the twin crises of Ebola and Zika, Washington has become more worried about the threat that infectious diseases pose to the United States. Experts have called for dedicated funding and flexibility so that the federal government can quickly respond to overseas outbreaks. This year’s spending bill contains something of a down payment on such a plan—a $75 million emergency fund to address “emerging global threats.” The funding comes from global health programs and the legislation also allows the State Department to shift additional funding from other accounts into the new emergency fund if an international health crisis takes place. It’s a real legislative attempt to prepare for future outbreaks—a rare example of Congress planning for the future on an issue that typically receives attention only when a crisis actually hits.

4. More visas for Afghans. The bill also increases by 2,500 the number of “special immigrant visas” available for Afghan interpreters who helped the U.S. military in Afghanistan. This refugee program is strongly supported by military hawks like Sens. John McCain and Lindsey Graham, who argue that the visas are critical for U.S. national security. Without them, they argue, the U.S. will face a shortage of interpreters, who will fear they will be targeted for helping the U.S. armed forces. Recently, as Trump has warned about the threats within U.S. immigration and refugee programs, the “special immigrant visa” program has come under attack on Capitol Hill and almost wasn’t renewed at the end of last year.

5. A new front against Russia. The spending also includes funding for one of the most controversial issues in Washington: Russia’s influence on global politics. Lawmakers earmarked $100 million for a new “Countering Russian Influence Fund,” which specifically targets the money toward civil society groups that “strengthen democratic institutions and processes, and counter Russian influence and aggression.” This money isn’t to investigate Russia’s intrusion in American politics or the U.S. presidential election but instead is designed to reduce Russian influence in Europe and Eurasia.

6. "Golden" crabs Not everything in the spending bill deals with hot-button issues. Some of it deals with seafood branding. The legislation specifies that “the acceptable market name of Lithodes aequispinus is ‘golden king crab.’” For almost every American, this might be meaningless, but it matters for Alaskan crabbers. Currently, the Food and Drug Administration permits the lithodes aequispinus to be labeled only as a “brown king crab.” But “golden king crab” is more commonly used in Alaska—and, importantly, it sounds much more appealing to eat, a Trump-esque branding move to improve business.

Authors: