Template criteria with a generic host