DustController.WriteTemplate doesn't use "name" as class name if present.