Fixed #247.