Refactored op_incr and added comments.