Manage configuration in a block

* Define configuration in a block, not as arguments to the client
Unused block argument - `config`. You can omit the argument if you don't care about it.