Add `config()` method to `serial_interface`