Fixed #248.