IMO, it's basic sanitation. I block my pullets out of the nest until they all go to roost. The more timid ones tend to take a long time to train to the roost. I find myself wondering if a hen would avoid laying her egg in a poopy nest if she had the option. One of the most disgusting things...