Solution to #67.