Updated destroy function to use new model lookup method.