Add defaults to input variables.