Removed finalize() and added a destroy()