Compatibility with Nette 2.2