def options(self):
        keys = self.__class__.__dict__.copy()
        keys.update(self.__dict__)
        keys = sorted(keys.keys())
        for opt in keys:
            val = self.get(opt)
            if val is not None:
                yield opt, val