add explicit casts for FLEXMethodBoxes and FLEXPropertyBoxes in the object explorer