Solution of #89.