add destroy to pxObject interface