Simplify handleObjectEvent()