Fix issue #161.