Fixed compatibility with Nette 2.1
Merge pull request #6 from enumag/patch-8

Fixed compatibility with Nette 2.1