Removed old code for nette 2.0