Updated internal Sentry integration setup to the new pattern required by the SDK.