From the discussion in #264
From the discussion in #264