https://github.com/crim-ca/weaver/pull/506/files#diff-ce41af74805c1d891a393bd1488434a450041ca7cc7df4f3532b4e516badf656R348