Added Java escape level, escape operations and part of unescape.