Extracting request-only code from signing-related code.