Added DELETE and PUT methods + small fixes

Hi @dpnova,

Please note that I'll update the test cases for delete and put in an upcoming PR.