Typically known for their tongue-in-cheek alternate endings for blockbuster films, How It Should Have Ended has provided "Logan" with a rather somber sendoff -- for the most part, anyway. The YouTube channel -- known for spoofing films like "Rogue One" and "Avengers," among others -- bid goodbye to Wolverine with a "Les Miserables"-inspired musical number and a cameo from a beloved mutant character.

The video opens during Wolverine's final moments, after he has saved Laura and the other child mutants from Alkali-Transigen's soldiers. As he lies dying, Laura and another boy kneel by his side -- and then Laura breaks into song.

RELATED: Logan: Hugh Jackman Pitched Different Ending for Wolverine

Fans of Hugh Jackman, who played Wolverine over the course of 17 years, might recognize the song that Laura sings: "Epilogue" from "Les Miserables." After all, Jackman starred as Jean Valjean in an adaptation of "Les Miserables" back in 2012. In the musical as well as the video above, Jackman's character passes away, only to be welcomed into the arms of his family and friends, as well as all those who died in the "revolution."

RELATED: Logan’s Jackman Once Received a Naughty X-Men Origins: Wolverine Gift

Of course, How It Should Have Ended tweaks the lyrics of the song in order to provide a more appropriate sendoff for Wolverine: "Do you hear the Wolverine? Finally finished with the fight. All of his stabbing of the people who do not know wrong from right. Of all the Mutants and their worth there is a man that never dies. Seventeen years of X-men and now he’s cutting ties!" The full lyrics are provided on the video's YouTube page.

Not to be outdone, Deadpool also makes a quick cameo at the end of the video. He drives up with a quick-fix elixir, which kicks Logan's healing factor back into overdrive and brings him back to life. Like "Deadpool" star Ryan Reynolds, the Merc With a Mouth is insistent that Wolverine come back for more.

RELATED: Logan: Jackman Will Have a Say in Who Becomes the Next Wolverine

“Logan” finds Wolverine in a world where no mutants have been born in twenty years. As such, he’s startled to discover Laura, a young mutant with powers very much like his own. Shortly thereafter, he’s forced to take a road trip with both Laura and ailing Professor X, as Laura is pursued by Alkali-Transigen, a shadowy organization who will stop at nothing to get her back. On his journey, Logan discovers a band of other mutant children as well, just in time for Alkali-Transigen to track them down. Though his healing factor is fading, Logan takes on Alkali-Transigen and their soldiers, ultimately sacrificing his life to save the children, who then complete their journey to safe haven in Canada.

Now in theaters, “Logan” is directed by James Mangold and stars Hugh Jackman as Logan, Patrick Stewart as Charles, Dafne Keen as Laura, Boyd Holbrook as Pierce and Stephen Merchant as Caliban.