Make `config' to allow to take an optional `key' for getting a value of its configuration.