Fixed #249.