Tweak calculateSignature method signature - redundant param