Implemented plan tree generation (JS preprocessor).