Fixed improper context in SA registration callbacks