Methods such as ve.ce.Surface#focus and handleInsertion should be less aware of selection types.
In general anywhere we write selection instanceof ve.(dm|ce).SomeTypeOfSelection.js, we should probably be rewriting that as selection.hasSomeProperty().