See #429 (comment)