support for Nette 2.1, loader factory