Compatibility with Nette 2.2

Fixed.