Fixed #342.