Updated the destroy method to use Schema.generateKeyAttribute.
Fixed bug in Model.find.