a tiny speedup for auto-generated attribute accessors