Fix delete request package type

Also fix raise -> return.