Support for Nette 2.1

Changed instance method on static method.