This is to allow use in templates.