Fixed compatibility with Nette 2.1
Merge pull request #3 from enumag/patch-4

Fixed compatibility with Nette 2.1