def __init__(self, **kwargs):
<EOL>for opt in accessors:<EOL><INDENT>setattr(self, opt, None)<EOL><DEDENT>self.custom_params = kwargs.pop('<STR_LIT>') ifkwargs.get('<STR_LIT>') else defaultdict(lambda: None)<EOL>self.extensions = kwargs.pop('<STR_LIT>') if kwargs.get('<STR_LIT>')else defaultdict(lambda: None)<EOL>for (key, val) in kwargs.iteritems():<EOL><INDENT>setattr(self, key, val)<EOL><DEDENT>
Create a new ToolConfig with the given options.