Made the registration of d2o's variables robust against pre-initialization of the configuration object.