Update method signature to latest version of sentry