 Billy Crystal (qv) and Robin Williams (I) (qv)s appearance  wasnt in the original script. They were by coincidence in the same  building, or the one across the street from where "Friends" is shot,  and the writers asked if they wanted to make a guest appearance.  This was the day of shooting so it was just quickly thrown in.