More robust link creation.