Modified template.rb.