Added configuration classes and tests.