Auto-correct class-level trivial accessors