Kevin Smith and Jason Mewes will appear in cameo roles on an upcoming episode of the CW's The Flash. The two are famous for their title roles in 2001's Jay and Silent Bob Strike Back, in which two stoners attempt to wreck a movie based on their lives when the filmmakers don't give them any credit.

Smith, who recently suffered a massive heart attack, has already directed two episodes of The Flash, and confirmed he and Mewes would show up as a pair of security guards in the 17th episode of the fourth season, "Null and Annoyed," which will mark his third directorial contribution to the DC series.

“I guess I can spoil it here,” Smith said on a recent episode of his podcast Fatman on Batman, where he laid out the entire story of how the cameos came to pass.

“At one point, like you know, I did my first episode of Flash, and they asked Jason Mewes to be in the episode. He was up in Vancouver, so I was like ‘He’s always by my side, so he’ll be there anyway, absolutely.’ So this time around, there’s a scene that had two security guards in it, and so the writers of the episode, Kristen and Lauren, asked me specifically. ‘We’re wondering, do you and Jay want to play the security guards?’”

“And honestly, I did not want to do it, because I knew it required that I wear pants. Like, there’s only so far in the world that I can take [my usual] outfit, and believe me, I’ve stretched it to its limit," continued the director, who is famous for wearing a hockey jersey all the time.

"But I knew if I was playing a part, where I wasn’t being me, I had to be the security guard. I couldn’t be the security guard in jorts. They probably would cut that. So I knew I’d have to wear an outfit and sh--, which included pants. So I was like ‘Oh f---, I don’t wanna do it.’ But I knew if I said no, I’d never hear the end of it from [Jay]. Cause he’d go ‘We had a chance to be on a f---ing Flash together, and you didn’t f---ing take it!’ So I said, ‘All right, we’ll do it.’ And they suited us up like security guards. And for the first time, I think since my father died, I wore dress pants. So we shot a scene, Jason and I, where we play two security guards in The Flash. And it’s not Jay and Silent Bob, but Jason speaks and I don’t. So there you go.”

No air date has been set for "Null and Annoyed," which will follow this week's episode of "Run, Iris, Run." Believe it or not, this is not the first time Mewes will be on The Flash. He appeared as Humvee Guy in the Season 2 episode "The Runaway Dinosaur," which was directed by Smith. Another Jay and Silent Bob alum, Mark Hamill (the Cocknocker) was also on the CW seriesas James Jesse, the Trickster for three episodes.