Added Leonidtok support.