Fixed a double-free introduced a few commits back by myself.
Added experimental slice support hoping to fix upstream issue #5