[TASK] Small code cleanup in Active Directory classes