Fix noncopyability of Program and Instance.