Added working delete package function.