Fixed support for nette 2.1