Fixed compatibility with Nette 2.2@dev

Should be backwards compatible too.