Bug with Undo Close action

Hi,
I was trying to use this plugin and noticed that the command Undo Close didn't work. So, I started the Gedit from terminal and I got this traceback:
Traceback (most recent call last):
  File "~/.local/share/gedit/plugins/tabs_extend.py", line 183, in on_undo_close
    self.window.create_tab_from_uri(uri, None, line, True, True)
AttributeError: 'Window' object has no attribute 'create_tab_from_uri'

So I fixed this problem in my forked project. I'm using Gedit 3.2.3.