import from borel

See also https://github.com/anchor/borel/pull/92
Mysteries in new codebases are pretty bad. @oswynb?