How did you prepare your cat (or other pet) for a new baby?

Our cat is completely spoiled. She's extremely affectionate, and insists on sitting on our laps if we're seated and following us around the house if we're not. She doesn't go in any of the bedrooms so she leaves us alone all night, but first thing in the morning she wants to cuddle. I certainly don't plan on leaving her alone with the new baby, but I want to be sure that she eventually gets along with him/her and isn't too difficult and jealous about our attention being diverted away from her.