Fix decorators for class defs.