https://github.com/hypothesis/h/commit/b23147e06ca3b250d84c06ccefbff07780148ce2