Class attrs weren't being set consistently.