See #1507, #1365.