Fixed compatibility with Nette 2.1

God this is endless... :-(