Document sapper helpers