Changes imports so that the fork is self-contained.