Add nette compatibility hack