should instead check if p.constructor == EnterKeyHandling (as already updated in the plugin itself).