Support for latest version of Nette

Signed-off-by: Ondřej Altman <altmaon1@fit.cvut.cz>