Fix formatting, make sure it passes pylint better.
Fixed bug in iterkeys method which was referencing self, but was not being passed self.