import from borel

See also https://github.com/anchor/borel/pull/92
@oswynb 

This is the problem, now git blame points to me =(