 Towards the end, we hear "Amazing Grace" played on bagpipes. We hear  the same hymn played on bagpipes during Spocks funeral in  _Star Trek: The Wrath of Khan (1982)_ (qv), also starring  Leonard Nimoy (qv).