Change the directory of utility classes, and prevent duplication of location insertion.