When Marshall brags about how long he has been in a relationship, he makes a comment to Barney that he has been a good boyfriend since Barney, "was in a ponytail and playing Dave Matthews on your mamas Casio." This is a call back to season one episode 15: Game Night. In this episode, Barney indeed has a ponytail and plays a Casio keyboard during an embarrassing flashback.