Remove redundant imports
Update migrate wiki to use Repo object.