Add permanent buffer function.