Setting operations position to either annotation or next logical position
Adding deprecated attribute to operations