Removed unused event onContextChanged.