Fixed compatibility with upcoming Nette 2.1 [closes #1]