Add reference to onstoptyping.