Dogs sensing pregnancy?

I've heard a lot about dogs being able to sense when their owner is pregnant, and I've noticed over the course of the past week that my dog sleeps with me all night, and naps with me during the day when he would normally be doing his own thing. He has also been spending a good amount of time sniffing me like we've never met. What are your experiences with this? Opinions?