removes deprecated observers and uses the sdk/events api instead;