Massage the serialization process.
Fix the delete method, add a bit more magic and some better error handling