Spider-Man: Homecoming has plenty of easter eggs that reference both other Marvel films and beloved pop-culture works like Ferris Bueller's Day Off, but that's not all. As it turns out, the film also pays homage to 1986's Star Trek IV: The Voyage Home.

The easter egg occurs early in the film, when actor Kirk Thatcher appears as a homeless-looking man holding a boombox while Spider-Man (Tom Holland) talks with a hot dog vendor (Zach Cherry). Credited in Spider-Man: Homecoming as "Punk on Street," Thatcher also appears in Star Trek IV: The Voyage Home as "Punk on Bus." In that film, Thatcher's character -- who also carries a boombox -- refuses to turn his music down for Admiral Kirk until Spock uses the Vulcan nerve pinch to incapacitate the young punk.

RELATED: Spider-Man: Homecoming: So, Who Is Zendaya's Michelle?

Thatcher originally confirmed the easter egg on his Twitter, writing, "YEPPERS! I am now an Easter egg!!"

RELATED: Roll Call: Putting Names To 17 New Faces In Spider-Man: Homecoming

He later expanded on how his cameo came to be in an interview with StarTrek.com. "I was having a meeting with the guys at Marvel and Kevin Feige had to leave early to catch a plane to New York for the last few days of shooting and wrap on Homecoming," he recalled. "I mentioned that I was going to New York too, only two days later. He got excited and asked if I would be interested in doing a cameo as a punk in Spider-Man? I, of course said, 'Sure!' He said the producers would get in contact with me and I changed my flight from a Friday morning flight to a Thursday red-eye. I arrived in Manhattan at around 1:30 in the morning and my call time was 4:30 a.m. the same day... So I grabbed a couple hours sleep, took a taxi to the set and had brought my own wardrobe. They made me look a little grungier, and the whole thing was done by 11:30 that morning! So, it was really only about 48 hours from Wednesday afternoon when he asked if I was interested to Friday lunch time when we had finished shooting the scene!"

In theaters now, Spider-Man: Homecoming stars Tom Holland, Michael Keaton, Zendaya, Donald Glover, Jacob Batalon, Laura Harrier, Tony Revolori, Tyne Daly, Bokeem Woodbine, Marisa Tomei and Robert Downey Jr.