Modify Letor class and Letor::Internal class