remove private attribute reader
lock around mutating the generated methods module