Compiles (although not fully tested) in UNSAFE/non-UNSAFE configurations