Fix bug in signing (wasn't passing through 'this')