Update the generator template to use #default_root