Generalised structured models