Reimplement corpus linker