Fix support for Nette 2.2.0