Fix compatibility with Nette v2.1-dev