Changed '== None' comparisons to 'is None'
Removed whitespace around = for kwargs