Add a default filter to use default values for nonexistent variables.
Also propagate function arguments to function compilers.