Cleanup the interface for creating soft or hard links.