Compatibility with Nette 2.1

Keeps compatibility with Nette 2.0.