In the seventh episode of the second season of How I Met Your Mother, a coffee shop barista mistakenly hears Barney's name as "Swarley" and writes it on his cup. This leads to a running gag in which everyone mercilessly refers to Barney as "Swarley" despite his protests, which culminates in everyone in McClaren's bar shouting "Swarley" when he enters and playing the Cheers theme song. The credits are then shown in the "Cheers" style.