Adding a method to get the root of a configuration