This and the others should just use SimpleAD,marshalAsAttribute and get rid of the isDefined checks