Refactoring for nette 2.1