See comments in #360
See comments in #360