Fixed compatibility with nette/nette dev-master