"new CustomPopupPlacementCallback" and "new EventHandler" removed.