Casting.
Porting function references and enums.
Porting more function references.
Porting random numbers.
Porting config.