Converted existing core library to use local increment and decrement operators.