Moving external stuff to contracts assembly.