Fixed the probs with custom value types used as AoMembers.