Implemented Model::delete() and deleteDependents()