Added template helpers