Modified ConfigBuilder to allow for building of arbitrary objects.