Solution of #66.