Make sure the Trace/Annotate/Wrap functions return nil if the error is nil