Added template helpers and routes.