Implement link/1 and spawn_link/1