Added templates and routes.