Added the long forgotten destroy functions