Use type for templates