Similar to #255 and #263.
Similar to #255 and #263.