Template hierarchacy.