App::get_template_engine() redeclared