Expose TAnonymous status for macros.
Merge pull request #2667 from nadako/anon_status

Expose TAnonymous status for macros.