Added documentation for the destroy method