removed code templates from the scala generator