Added convenience API for unpacking.