Fix undefined argument errors.