Use `self.write_new_object(...)`