Fixed future compatibility with Nette