Not all variables in templates were accessed with the '@var' notation, causing deprecation warnings.