if "type" in kwargs and kwargs["type"] is not None:
            self.type = kwargs["type"]