Fixed compatibility with stable Nette