Moving external stuff into Contract assembly.