operator: Add polymorphic operators part 3

* Regen mid code
* Fix all diverging points