Compatibility with nette components >= 2.2.0