store structure extended types and expose it to the macro api with AnonStatus.AExtend (closes #3198)