Fixing up templateType method placement and declaration.