Some `delete` methods were not super bullet proof, that could have potentially allow hackers to do nasty things.
Hopefully this will result in slightly better code.