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