Simpsons showrunner Al Jean speaks about Leonard Nimoy in this Vulture piece

"Later, we asked him to play himself in our X-Files parody, and when we asked him to sing "Good Morning Starshine," he knew full well we were having a little fun with the solo album he released (and I loved), but again, he could not have been a better sport."