compatibility with latest nette version
Merge pull request #10 from PavelJurasek/fix-compatibility

compatibility with latest nette version #9