Isn't this wrong too?  It should be this.transaction.add_header or this.transaction.add_leading_header according to the docs: https://github.com/baudehlo/Haraka/blob/master/docs/Header.md