autoMember and tpltMember both suffer from the fault of being transitive - they are only meant to apply to one level. Nested functions will wrongly "inherit" these flags.