Changed configuration to implement ConfigurationInterface