Add thor dependency