Although it had crossed my mind to have Josh pass on, as a way of ending the series, I opted not to do that. As far as Cody and Brent, they were never at the Hotel at the same time.
Brent was first, when the Curries picked him up hitchhiking on their way back from Baltimore. His parents had thrown him out after they were unable to change his orientation. He died in a traffic accident while on vacation with a friend.
Cody's mother was a hooker who died of AIDS and he never knew who his father was. He had been in the foster care system, but was being bullied by the other kids. Sally brought him to the house, unannounced, but he seemed to fit in. He died of a form of leukemia, but they tried, unsuccessfully, to locate his father before that happened.
I just thought the trip down memory lane with the 'spirits' of those who had passed was a nice way to wrap things up. Of course, we couldn't completely end the series without a prank from Ricky.
I'm glad you enjoyed it and I hope everyone else did as well.