Made some destroy-function public