Make template support Masters as well as Replica's.