Added $_url and $_methods variables into the generated controllers.