Make styles more defensive.