Fix configuration loader. Fixes #2.