Added configuration loading.