title: kwargs parsing best practice
body: <p>Is there a more compact/efficient way of doing this?</p>
  
  <pre><code>    for key in kwargs:
          if key == 'log':
              self.log = kwargs[key]
          elif key == 'bin':
              self.bin = kwargs[key]
          elif key == 'pid':
              self.pid = kwargs[key]
          elif key == 'conf':
              self.conf = kwargs[key]
  </code></pre>