Fix for Nette 2.1-dev