Sheaves of T-algebras