Cgen implemented for class declarations, along with their attributes,
methods and dispatch tables.