Switch path to classes