Template row headers restriction implemented