Changed DELETE response to 204 and tweaked error objects