Add `ctorByClass` back as a complex variable.