Implement delete
Implement write
Create proper error messages