Fix issue with optional parameter to dep_ thanks to Fred Barnes.