Ker, William, 1852-1925