Added configuration parsing code.