Modelled named and anonymous types