removed pymode, added replacement syntax