Adapts extlib examples regarding primitive library behavior calls and
operation ownership
Fixes conversion and replacement of primitive library behavior calls