A generalisation of W∗-algebras