class C is now new-style to comply with the advice in the notebook.