Can't import Crypto class from the API because it is not defined as an export. The sequence of the arguments for the Index class in wrong compared to every other contract class.