Add backwards compatibility with older Nette versions