Some changes to the Dynlib interface, and some changes to runtime to support 'foreign languages'