It probably makes no difference, but this is returning the value of QMA::AppendSignature rather than bool, I think.  Maybe better to convert to bool here?