Added inline templates.