Transfer ownership, fix links.