Implement better magic to handle changing control dependencies when welding blocks