Change NULL values for certain arguments to NA values
Add defaults to some function arguments