Add directory properties validation.