Adding truncate and prune hb helpers