See comments in #45
See comments in #45