Add pointer cast template.