Rework on getConfiguration method